<?php
    $id         = $_GET['id'];

    $sql    = "DELETE FROM customer WHERE id_c='" . $id . "'";
    $result = mysql_query($sql);
    if($result){
        header("location:../administrator/index.php?page=customer");
    }        
?>